package com.sxbbc.common.core.entity.jz;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 商学院
 * </p>
 *
 * @author xiaoky
 * @since 2019-06-11
 */
public class SysEssay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 封面图
     */
    private String coverUrl;

    /**
     * 内容
     */
    private String content;

    /**
     * 发布时间
     */
    private Date createTime;
    
    /**
     * 是否有视频  0 没有  1 有
     */
    private Integer hasVideo;
    
    /**
     * 视频url
     */
    private String videoUrl;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getCoverUrl() {
		return coverUrl;
	}

	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}

	public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getHasVideo() {
		return hasVideo;
	}

	public void setHasVideo(Integer hasVideo) {
		this.hasVideo = hasVideo;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	@Override
    public String toString() {
        return "SysEssay{" +
        "id=" + id +
        ", title=" + title +
        ", coverUrl=" + coverUrl +
        ", content=" + content +
        ", createTime=" + createTime +
        "}";
    }
}
